package com.cuit.service;


import com.cuit.pojo.User;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface UserService {
    List<User> findAll();
    User findById(int id);
    int deleteById(int id);
    int login(String username, String password);
    public int register(String username, String password, MultipartFile image) throws IOException;
}
